package com.event.example.jpa.service;

import com.event.example.jpa.SmsEntity;
import com.event.example.jpa.SmsRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description TODO
 * @Author Bing
 * @Date 2024/10/9 16:49
 */
@Service
public class SmsJapService {

    @Autowired
    private SmsRepository smsRepository;

    public void update(SmsEntity smsEntity) {
        smsRepository.save(smsEntity);
    }
}